Einhugur Word Plugin for Objo

Einhugur.Word.Document Class

Class that represents docx Word document.

This class can Create, Read, Write and Edit Word documents.

Einhugur.Word.Container
   Einhugur.Word.Document

class Einhugur.Word.Document

Properties

CharacterStylesReturns array of all predefined CharacterStyles in the document.
CreatedDateCreation date of the document. (Meta data)
CreatedDateSecondsFromUTCSeconds from UTC for the creation date of the document. (Meta data)
CreatorGets or sets the creator of the document.
DefaultSectionReturns default section for the document. (Default page setup for the document)
DescriptionGets or sets the description of the document.
DocumentDefaultsGets the document defaults object.
ItemCount (Inherited) Number of items in the container.
KeywordsKeywords for the document. (Meta data)
LastModifiedByName of person to last modify the document. (Meta data)
ModifiedDateModification date of the document. (Meta data)
ModifiedDateSecondsFromUTCSeconds from UTC for the modification date of the document. (Meta data)
ParagraphCount (Inherited) Number of paragraphs in the container.
ParagraphStylesReturns array of all predefined ParagraphStyles in the document.
SubjectDocument subject. (Meta data)
TableCount (Inherited) Number of tables in the container.
TitleTitle of the document. (Meta data)

Methods

AddNewCharacterStyleAdds new character style to the document.
AddNewParagraphStyleAdds new paragraph style to the document.
AddNewTableStyleAdds new table style to the document.
AppendPageBreakAppends page break at back of the document.
AppendParagraph (Inherited) Appends paragraph at back of the container, creating one run for the image data passed in with this method. (This variation of the AppendParagraph is to embed images).
AppendParagraph (Inherited) Appends paragraph at back of the container, creating one run for the string passed in with this method.
AppendSectionBreakAppends section break with a given rule.
AppendTable (Inherited) Appends table to the back of the container.
ApplyFieldDataApplies filed data document wide. This covers paragraphs, tables, nested tables, nested paragraphs.
shared CreateCreates new document at given location.
CreateListIndentCreates ListIndent object to be used with group of paragraphs.
Dispose (Inherited) Releases unmanaged resources used by the Container class.
FooterGets footer of requested type from the document, optionally creating new footer if footer with the requested type does not exist.
GetBookmarksGets all bookmarks in the document.
HeaderGets header of requested type from the document, optionally creating new header if header with the requested type does not exist.
Item (Inherited) Returns item at given index. (Paragraphs or tables)
shared OpenOpens word document.
Paragraph (Inherited) Gets paragraph at given index.
RemoveBookmarkRemoves bookmark from the document.
RemoveItem (Inherited) Removes item from the container.
SaveSaves the document
SaveAsSaves the document with new name and or path.
Table (Inherited) Gets table at given index.
TableStylesReturns array of all predefined TableStyles in the document.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 64 bit
  • Linux ARM 64 bit